package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 耗材别名对象 service_name
 * 
 * @author ZDL
 * @date 2024-10-21
 */
public class ServiceName extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 别名主键ID */
    private Long nameId;

    /** 别名 */
    @Excel(name = "别名")
    private String nameOthername;

    /** 创建者 */
    @Excel(name = "创建者")
    private String nameCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nameCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String nameUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nameUpdateTime;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String nameUseFlag;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String nameDelFlag;

    public void setNameId(Long nameId) 
    {
        this.nameId = nameId;
    }

    public Long getNameId() 
    {
        return nameId;
    }
    public void setNameOthername(String nameOthername) 
    {
        this.nameOthername = nameOthername;
    }

    public String getNameOthername() 
    {
        return nameOthername;
    }
    public void setNameCreateBy(String nameCreateBy) 
    {
        this.nameCreateBy = nameCreateBy;
    }

    public String getNameCreateBy() 
    {
        return nameCreateBy;
    }
    public void setNameCreateTime(Date nameCreateTime) 
    {
        this.nameCreateTime = nameCreateTime;
    }

    public Date getNameCreateTime() 
    {
        return nameCreateTime;
    }
    public void setNameUpdateBy(String nameUpdateBy) 
    {
        this.nameUpdateBy = nameUpdateBy;
    }

    public String getNameUpdateBy() 
    {
        return nameUpdateBy;
    }
    public void setNameUpdateTime(Date nameUpdateTime) 
    {
        this.nameUpdateTime = nameUpdateTime;
    }

    public Date getNameUpdateTime() 
    {
        return nameUpdateTime;
    }
    public void setNameUseFlag(String nameUseFlag) 
    {
        this.nameUseFlag = nameUseFlag;
    }

    public String getNameUseFlag() 
    {
        return nameUseFlag;
    }
    public void setNameDelFlag(String nameDelFlag) 
    {
        this.nameDelFlag = nameDelFlag;
    }

    public String getNameDelFlag() 
    {
        return nameDelFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nameId", getNameId())
            .append("nameOthername", getNameOthername())
            .append("nameCreateBy", getNameCreateBy())
            .append("nameCreateTime", getNameCreateTime())
            .append("nameUpdateBy", getNameUpdateBy())
            .append("nameUpdateTime", getNameUpdateTime())
            .append("nameUseFlag", getNameUseFlag())
            .append("nameDelFlag", getNameDelFlag())
            .toString();
    }
}
